aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/fund/[id]/+page.server.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-03-15 21:27:44 -0700
committerAdam Soltys <[email protected]>2025-03-15 21:27:44 -0700
commitf22464cf997b72d5fd99ddabb152401d7ef71ecb (patch)
treedb55d71b7774d3dd4e46158cd5ff80fd2c962cba /src/routes/(app)/fund/[id]/+page.server.ts
parentb9723d50e2be0d04715289b656ff1ef1c24f6248 (diff)
downloadcoinos-ui-fund-access.tar.gz
coinos-ui-fund-access.zip
Diffstat (limited to 'src/routes/(app)/fund/[id]/+page.server.ts')
-rw-r--r--src/routes/(app)/fund/[id]/+page.server.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/routes/(app)/fund/[id]/+page.server.ts b/src/routes/(app)/fund/[id]/+page.server.ts
index 9ea33627..a4f402af 100644
--- a/src/routes/(app)/fund/[id]/+page.server.ts
+++ b/src/routes/(app)/fund/[id]/+page.server.ts
@@ -5,6 +5,7 @@ import { redirect } from "@sveltejs/kit";
export const load = async ({ depends, params: { id }, parent }) => {
depends("app:payments");
const data = await get(`/fund/${id}`);
+ data.managers = await get(`/fund/${id}/managers`);
const rates = await getRates();
const { user } = await parent();
data.rate = rates[user?.currency || "USD"];